#ifndef MYDIALOG_H
#define MYDIALOG_H

#include "Siri.h"

#include <QDialog>
#include <QGraphicsDropShadowEffect>
#include <QObject>
#include <QWidget>

class MyDialog : public QDialog
{
    Q_OBJECT
public:
    enum MyDialogName{
        MenuDialog=1,
        LineDialog=2,
        OperationDialog=3,
        BedDialog=4,
        setDialog=5
    };
    explicit MyDialog(QWidget *parent = nullptr);
    static QString showPatientInfor;
    virtual void siriWork(MyDialogName name,functionFlag flag);
    MyDialogName dialogName;
    ~MyDialog();
signals:
    void showPatient_signal(QString str);
protected:
    bool eventFilter(QObject *watched, QEvent *event);


private:

signals:
};

#endif // MYDIALOG_H
